Python : How To Find The Groups Of Consecutive Elements In A Numpy Array